flattenlistmodel: Fix uninitialized variable warning
authorYi-Soo An <yisooan@gmail.com>
Thu, 20 Sep 2018 03:45:33 +0000 (12:45 +0900)
committerYi-Soo An <yisooan@gmail.com>
Thu, 20 Sep 2018 03:45:33 +0000 (12:45 +0900)
commit4ad8dcebd8d8f2f8e20ff0ff5c0bc1304406d44f
tree52aeace0c05c6a0e47da505e0fd5b51f1ecff713
parenta966b90e5115e7601a287931895396de6c23609e
flattenlistmodel: Fix uninitialized variable warning

Variable, added, would be a garbage value if model is NULL and
the following code, if condition, use the uninitialized variable.
A side effect could be occurred by that.

To avoid, the variable is initialized to zero.
gtk/gtkflattenlistmodel.c